package com.example.crmebshop.api;


import com.example.crmebshop.bean.ResponseBean;

import io.reactivex.Observable;
import retrofit2.http.GET;
import retrofit2.http.Headers;
import retrofit2.http.POST;
import retrofit2.http.Query;
import retrofit2.http.Url;


/**
 * @author ChayChan
 * @description: 网络请求的service
 * @date 2017/6/18  19:28
 */

public interface ApiService {


    /**
     * 获取新闻列表
     *
     * @param password 频道
     * @return
     */
    @POST("api/login")
    Observable<ResponseBean> mobileLogin(@Query("account") String account, @Query("password") String password);


}

